package com.book.warehouse.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * @Author: 刘恬镯
 * @Description:  20174052
 */

@Data
@TableName("warehouse_house")
public class WarehouseHouse{
    @TableId(value = "houseid", type = IdType.AUTO)
    private Integer houseid;

    @TableField("housename")
    private String housename;

    @TableField("housenumber")
    private Integer housenumber;

    @TableField("housebooks")
    private Integer housebooks;

    @TableField(value = "createtime", fill = FieldFill.INSERT)
    private Date createtime;

    @TableField(value = "updatetime", fill = FieldFill.UPDATE)
    private Date updatetime;
}
